package cn.elwy.rcp.kit.yssuco.copy;

import java.io.IOException;
import java.util.List;

import cn.elwy.common.util.io.FileUtil;
import cn.elwy.common.util.json.JacksonUtil;

public class YssucoTest {

	public static void main(String[] args) throws IOException {
		String filePath = "E:/Workspace/ysstech/AMS/YSSUCO/server/YSSUCO.json";
		String json = FileUtil.readFileToString(filePath);
		System.out.println(json);
		List<YssUcoConfig> yucList = JacksonUtil.toList(json, YssUcoConfig.class);
		System.out.println(yucList);
	}
}
